﻿using SqlSugar;

namespace SIMS.SqlSugarWebApi.Models
{
    public class UserRights
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        [SugarColumn(Length = 30)]
        public string RoleName { get; set; }

        [SugarColumn(Length = 30, IsNullable = true)]
        public string MenuName { get; set; }

        [SugarColumn(Length = 30, IsNullable = true)]
        public string Icon { get; set; }

        [SugarColumn(Length = 100, IsNullable = true)]
        public string Url { get; set; }

        [SugarColumn(IsNullable = true)]
        public int? ParentId { get; set; }

        [SugarColumn(IsNullable = true)]
        public int? SortId { get; set; }
    }
}
